class clock:
    id = None
    price = None

    def ring(self):
        import winsound
        winsound.Beep(2000,3000)

clock1 = clock()
clock1.id ="00302"
clock1.price = 19.99
print(f"{clock1.id},{clock1.price}")
clock1.ring()

clock2 = clock()
clock2.id = "00303"
clock2.price = 21.99
print(f"{clock2.id},{clock2.price}")
clock2.ring()